<template>
	<view>
		<view>
			<view class="content">
				<view style="width: 10%;">
					<view class="content-icon">
						<text>Q</text>
					</view>
				</view>
				<view class="content-text">
					<text>{{q}}</text>
				</view>
			</view>
			
			<view class="content">
				<view style="width: 10%;">
					<view class="content-icon" style="background-color: rgb(152,152,152);">
						<text>A</text>
					</view>
				</view>
				<view class="content-text">
					<text>{{a}}</text>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				q:'',
				a:''
			}
		},
		methods: {
			
		},
		onLoad(options) {
			this.q = options.q;
			this.a = options.a;
		},
	}
</script>

<style lang="less">
.content {
	background-color: white;
	padding: 20px 20px 0px 20px;
	display: flex;
	flex-direction: row;
	.content-icon {
		width: 40px;
		height: 40px;
		border-radius: 20px;
		background-color: rgb(255, 109, 129);
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		margin-top: 15px;
		text {
			font-size: 32px;
			color: white;
		}
	}
	.content-text {
		padding-right: 10px;
		width: 90%;
		text {
			font-size: 28px;
		}
	}
}
</style>
